package com.linrui.prod.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.linrui.basic.domain.BaseDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author linrui
 * @since 2022-10-21
 */
@Data
public class TProdProductType extends BaseDomain{

    private static final long serialVersionUID = 1L;
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("名字")
    private String name;
    @ApiModelProperty("描述")
    private String description;
    @ApiModelProperty("父类型")
    private TProdProductType parent;

    private List<TProdProductType> children;

    public List<TProdProductType> getChildren() {
        return children;
    }

    public void setChildren(List<TProdProductType> children) {
        this.children = children;
    }

    public TProdProductType getParent() {
        return parent;
    }

    public void setParent(TProdProductType parent) {
        this.parent = parent;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }


    @Override
    public String toString() {
        return "TProdProductType{" +
        ", id=" + id +
        ", name=" + name +
        ", description=" + description +
        "}";
    }
}
